import Vue from 'vue'
import Router from 'vue-router'
import list from '@/components/list'
import brand from '@/components/brand'
import specification from '@/components/specification'
import typeTemplate from '@/components/typeTemplate'
import itemcat from '@/components/itemcat'
import echars from '@/components/echars'
Vue.use(Router)

// eslint-disable-next-line no-unused-vars
let router;
// eslint-disable-next-line no-unused-vars
export default router = new Router({
    routes: [
        {
            path: '/list',
            name: 'list',
            component: list
        },
        {
            path: '/brand',
            name: 'brand',
            component: brand
        },
        {
            path: '/specification',
            name: 'specification',
            component: specification
        },
        {
            path: '/typeTemplate',
            name: 'typeTemplate',
            component: typeTemplate
        },
        {
            path: '/itemcat',
            name: 'itemcat',
            component: itemcat
        },
        {
            path: '/echars',
            name: 'echars',
            component: echars
        },
    ]
})